:root {
    --background-color: #e8f5e9; /* Light green-greyish background */
    --logo-color: #ff6d4d; /* Logo and hover background color */
    --text-color: #000000; /* Black text for high contrast */
    --link-color: #6a1b9a; /* Purple for links */
    --footer-bg: #ffffff; /* White footer background */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0 10%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background-color: var(--background-color);
    position: relative;
}

.header__logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.header__artist-name {
    font-family: 'Crimson Text', serif;
    font-size: 32px;
    font-weight: normal;
    margin-right: 20px;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__nav-toggle {
    display: none;
}

.header__hamburger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 2ch; /* Two characters width based on artist name font */
}

.header__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
}

.header__nav-link {
    font-family: 'Crimson Text', serif;
    font-size: 24px;
    color: var(--text-color);
    text-decoration: none;
}

.header__nav-link:hover {
    text-decoration: underline;
}

/* Dropdown for Repertoire */
.header__nav-item--dropdown {
    position: relative;
}

.header__nav-link--dropdown {
    cursor: default;
}

.header__dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-color);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.header__nav-item--dropdown:hover .header__dropdown-menu {
    display: block;
}

.header__dropdown-menu li {
    padding: 0;
}

.header__dropdown-menu .header__nav-link {
    display: block;
    padding: 0.4rem 1rem;
    font-size: 20px;
    white-space: nowrap;
}

.header__dropdown-menu .header__nav-link:hover {
    background-color: var(--logo-color);
    color: #ffffff;
    text-decoration: none;
}

.hero__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.headline {
    font-family: 'Crimson Text', serif;
    font-size: 32px;
    font-weight: normal;
    text-align: center;
    margin: 2rem 0;
}

.intro {
    display: flex;
    gap: 2rem;
    margin: 2rem auto;
    justify-content: center;
    max-width: 80em;
}

.intro__content {
    flex: 2;
    max-width: 40em;
}

.intro__text {
    margin: 0 2rem;
}

.intro__image {
    flex: 1;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    max-width: 40%;
    height: auto;
}

.section-title {
    font-family: 'Crimson Text', serif;
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title--centered {
    text-align: center;
    margin-left: 0;
}

.section__text {
    max-width: 40em;
    margin: 1rem auto;
    text-align: center;
}

.content-link {
    color: var(--link-color);
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    background-color: transparent;
}

.content-link:hover {
    text-decoration: underline;
    background-color: var(--logo-color);
    color: #ffffff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-links__item {
    font-family: 'Crimson Text', serif;
    font-size: 24px;
    color: var(--link-color);
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    background-color: transparent;
}

.social-links__item:hover {
    text-decoration: underline;
    background-color: var(--logo-color);
    color: #ffffff;
}

.section {
    margin: 2rem 0;
    text-align: center;
}

.subsection {
    max-width: 40em;
    margin: 1rem auto;
}

.subsection-title {
    font-family: 'Crimson Text', serif;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 0.5rem;
    text-align: center;
}

.image-section {
    margin: 4rem 0;
    text-align: center;
}

.section__image {
    width: 100%;
    max-width: 80%; /* Reduced size for wider screens */
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.publications {
    margin-bottom: 4rem; /* Increased space before footer */
}

.publications__container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
}

.publications__item {
    flex: 1;
    max-width: 40em;
    text-align: center;
}

.publications__link {
    font-family: 'Crimson Text', serif;
    font-size: 24px;
    color: var(--link-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 2px solid var(--link-color);
    border-radius: 25px;
    display: inline-block;
}

.publications__link:hover {
    text-decoration: underline;
    background-color: var(--logo-color);
    color: #ffffff;
    border-color: var(--logo-color);
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    background-color: var(--footer-bg);
    margin-top: 2rem;
    border-radius: 10px;
}

.footer__logos {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer__logo__1 {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.footer__logo__2 {
    width: 260px;
    height: 40px;
    object-fit: cover;
}

.footer__socials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__social-link {
    font-family: 'Crimson Text', serif;
    font-size: 24px;
    color: var(--link-color);
    text-decoration: none;
}

.footer__social-link:hover {
    text-decoration: underline;
    background-color: var(--logo-color);
    color: #ffffff;
}

.footer__contact-title {
    font-family: 'Crimson Text', serif;
    font-size: 32px;
    margin-bottom: 0.5rem;
}

.footer__email {
    font-size: 16px;
    color: var(--link-color);
    text-decoration: none;
}

.copyright {
    margin: 1rem 0;
    text-align: center;
}

.copyright__line {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 1rem auto;
    width: 80%;
}

.copyright__text {
    font-size: 16px;
    color: var(--text-color);
}

.semibold__text{
	 font-weight: 600;
}

@media (max-width: 768px) {
    body {
        margin: 0;
    }

    .header {
        flex-direction: row;
        align-items: center;
    }

    .header__hamburger {
        display: block;
    }

    .header__nav-list {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 80px;
        right: 0;
        background-color: var(--background-color);
        padding: 1rem;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .header__nav-toggle:checked ~ .header__nav-list {
        display: flex;
    }

    /* Mobile: always show nested repertoire items when menu is open */
    .header__nav-item--dropdown {
        position: static;
    }

    .header__dropdown-menu {
        display: block;
        position: static;
        box-shadow: none;
        padding: 0.25rem 0 0.25rem 1rem;
        min-width: auto;
        background-color: transparent;
    }

    .header__dropdown-menu .header__nav-link {
        font-size: 20px;
        padding: 0.3rem 0;
    }

    .hero__image {
        aspect-ratio: 1 / 1;
    }

    .intro {
        flex-direction: column;
        margin: 1rem 0;
        align-items: center;
    }

    .intro__content {
        max-width: 100%;
    }

    .intro__text {
        margin: 1rem;
        font-size: 15px; /* Reduced text size for small screens */
    }

    .intro__image {
        width: 80%;
        max-width: none;
        margin: 0 auto;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .section-title {
        margin-left: 0;
    }

    .section__text {
        max-width: 100%;
        margin: 1rem;
        text-align: left; /* Match intro text styling */
        font-size: 15px; /* Reduced text size for small screens */
    }

    .subsection {
        max-width: 100%;
        margin: 1rem;
    }

    .publications__container {
        flex-direction: column;
        margin: 1rem 0;
    }

    .publications__item {
        max-width: 100%;
    }

    .section__image {
        max-width: 100%; /* Full width for small screens */
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .footer__logos {
        display: none; /* Hide logos for small screens */
    }

    .footer__socials {
        align-items: center;
    }
}